//
//  YJDLoginView.h
//  YJDSDK
//
//  Created by skyline on 2018/7/25.
//  Copyright © 2018年 skyline. All rights reserved.
//

#import "YJDView.h"


typedef NS_ENUM(NSInteger ,YJDLoginViewEvent)
{
    YJDLoginViewEventLogin = 1,//登录
    YJDLoginViewEventRegister,//注册
    YJDLoginViewEventForgetPWD,//获取验证码
    YJDLoginViewEventCancel
};

@protocol YJDLoginViewDelegate<NSObject,UITableViewDelegate,UITableViewDataSource>
- (void)yjd_YJDLoginViewWithEvent:(YJDLoginViewEvent)event dict:(NSDictionary *)dict;

@end
@interface YJDLoginView : YJDView
@property (nonatomic, strong) YJDButton *titleIMG;
@property (nonatomic, strong) YJDLabel *tipsLBL;
@property (nonatomic, strong) YJDTextField *nameTF;
@property (nonatomic, strong) YJDTextField *passTF;
@property (nonatomic, strong) YJDButton *enterBtn;
@property (nonatomic, strong) YJDButton *leftBtn;
@property (nonatomic, strong) YJDButton *rightBtn;
@property (nonatomic, strong) YJDButton *cancelBtn;
@property (nonatomic, assign) id<YJDLoginViewDelegate>delegate;
@end
